package com.personal.domain.obtain;

import java.util.ArrayList;
import java.util.List;

/**
 * @projectName: smartCommunity_springboot
 * @package: com.personal.domain.obtain
 * @className: ParkAreaDireTree
 * @author: bong~
 * @description: TODO
 * @date: 2023/8/11 14:24
 * @version: 1.0
 */

public class ParkAreaDireTree {

    private Integer id;
    private Integer parentId;
    private String name;
    private Integer status;

    private String path;

    List<ParkAreaDireTree> subDirectory;

    public ParkAreaDireTree(){

    }

    public ParkAreaDireTree(Integer id, Integer parentId, String name, Integer status, String path) {
        this.id = id;
        this.parentId = parentId;
        this.name = name;
        this.status = status;
        this.path = path;
        this.subDirectory = new ArrayList<>();
    }

    public Integer getId() {

        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public List<ParkAreaDireTree> getSubDirectory() {
        return subDirectory;
    }

    public void setSubDirectory(List<ParkAreaDireTree> subDirectory) {
        this.subDirectory = subDirectory;
    }
}
